﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyVideoPlayer.Models
{
    /// <summary>
    /// 视频信息
    /// </summary>
    public class MovieInfo
    {
        /// <summary>
        /// 视频列表编号
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 视频名称
        /// </summary>
        public string? Name { get; set; }
        /// <summary>
        /// 视频存储地址
        /// </summary>
        public string? URL { get; set; }
        /// <summary>
        /// 视频播放位置
        /// </summary>
        public TimeSpan CurrentDuration { get; set; } = TimeSpan.Zero;
    }
}
